/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2018-2021.
 * Description: support ubifs enhance feature
 * Author: yejianhua <yejianhua5@huawei.com>
 * Create: 2018-09-21
 */

#ifndef _FORCE_RECOVERY_H_
#define _FORCE_RECOVERY_H_

/* fs/ubifs/force_recovery.c */
int find_next_magic(const struct ubifs_info *c, char *buf, int len);
unsigned int ubifs_count_bitflips(const struct ubifs_info *c, char *buf, int len);
#endif
